#pragma once
#include <vector>
#include <string>
#include <map>
using std::vector;
using std::string;

extern struct the_last_class_of_four_dot_zero
{
	vector<int> supported_subclasss;

	int gf_s100;
	int lf_s100;
	int tv_s100;
	int gf_s80;
	int lf_s80;
	int tv_s80;
	int gf_s100_start;
	int lf_s100_start;
	int tv_s100_start;
	int gf_s80_start;
	int lf_s80_start;
	int tv_s80_start;

	string user_image_save_path;
	std::map<int, int> _image_class_map;

	int add_image_class(int class_id, int image_class){
		_image_class_map.insert(std::map<int, int>::value_type(class_id, image_class));
	}

	int get_image_class(int class_id){
		std::map<int, int>::iterator it = _image_class_map.find(class_id);
		if (it == _image_class_map.end())
			return -1;
		return it->second;
	}

	bool support_this_subclass(int scid) {
		for (int h = 0; h != supported_subclasss.size(); h++) {
			if (supported_subclasss[h] == scid)
				return true;
		}
		return false;
	}
	
} the_misc_configs;
